package com.wocai.jrt.orgadmin.enterprise.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class EnterpriseShareholderBean {
    /**
     * order by 排序语句
     * 对应数据库表字段 enterprise_shareholder
     */
    private String orderBy;

    /**
     * 分页开始记录
     * 对应数据库表字段 enterprise_shareholder
     */
    private Integer start;

    /**
     * 分页大小
     * 对应数据库表字段 enterprise_shareholder
     */
    private int pageSize = 10;

    /**
     * 是否指定 distinct 去除重复
     * 对应数据库表字段 enterprise_shareholder
     */
    private boolean distinct;

    /**
     * 逻辑or语句
     * 对应数据库表字段 enterprise_shareholder
     */
    private List<Criteria> oredCriteria;

    /**
     */
    public EnterpriseShareholderBean() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 设置 order by 排序语句
     */
    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    /**
     * 获得 order by 排序语句
     */
    public String getOrderBy() {
        return orderBy;
    }

    /**
     * 设置 start，分页开始记录
     */
    public void setStart(Integer start) {
        this.start = start;
    }

    /**
     * 获得 start，分页开始记录
     */
    public Integer getStart() {
        return start;
    }

    /**
     * 设置 pageSize，分页大小
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 获得 pageSize，分页大小
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * 设置是否指定 distinct 去除重复
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 是否设置了distinct语句，true是，false否。
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 获得逻辑or语句
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * 添加逻辑or语句
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * 添加逻辑and语句
     */
    public void and(Criteria criteria) {
        criteria.setAndRelation(true);
        oredCriteria.add(criteria);
    }

    /**
     * 新建逻辑或or语句
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 新建逻辑and语句
     */
    public Criteria and() {
        Criteria criteria = createCriteriaInternal();
        criteria.setAndRelation(true);
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 创建查询条件，如果逻辑或为空，同时将查询条件放入。
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 创建新查询条件。
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除逻辑或or语句，并且distinct为false，不去重。
     */
    public void clear() {
        oredCriteria.clear();
    }

    /**
     * 该类对应数据库表 enterprise_shareholder
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void orCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition, true));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void orCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value, true));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void orCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2, true));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdIsNull() {
            orCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria orIdIsNotNull() {
            orCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria orIdEqualTo(String value) {
            orCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotEqualTo(String value) {
            orCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdGreaterThan(String value) {
            orCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdGreaterThanOrEqualTo(String value) {
            orCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLessThan(String value) {
            orCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLessThanOrEqualTo(String value) {
            orCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLike(String value) {
            orCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotLike(String value) {
            orCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria orIdIn(List<String> values) {
            orCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotIn(List<String> values) {
            orCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria orIdBetween(String value1, String value2) {
            orCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotBetween(String value1, String value2) {
            orCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(String value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(String value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(String value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(String value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(String value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdIsNull() {
            orCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdIsNotNull() {
            orCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdEqualTo(String value) {
            orCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotEqualTo(String value) {
            orCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdGreaterThan(String value) {
            orCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdGreaterThanOrEqualTo(String value) {
            orCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdLessThan(String value) {
            orCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdLessThanOrEqualTo(String value) {
            orCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLike(String value) {
            addCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotLike(String value) {
            addCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdLike(String value) {
            orCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotLike(String value) {
            orCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<String> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<String> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(String value1, String value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(String value1, String value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdIn(List<String> values) {
            orCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotIn(List<String> values) {
            orCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdBetween(String value1, String value2) {
            orCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotBetween(String value1, String value2) {
            orCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameIsNull() {
            orCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria orNameIsNotNull() {
            orCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria orNameEqualTo(String value) {
            orCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotEqualTo(String value) {
            orCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameGreaterThan(String value) {
            orCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameGreaterThanOrEqualTo(String value) {
            orCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameLessThan(String value) {
            orCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameLessThanOrEqualTo(String value) {
            orCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameLike(String value) {
            orCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotLike(String value) {
            orCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria orNameIn(List<String> values) {
            orCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotIn(List<String> values) {
            orCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria orNameBetween(String value1, String value2) {
            orCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotBetween(String value1, String value2) {
            orCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPositionIsNull() {
            addCriterion("position is null");
            return (Criteria) this;
        }

        public Criteria andPositionIsNotNull() {
            addCriterion("position is not null");
            return (Criteria) this;
        }

        public Criteria andPositionEqualTo(String value) {
            addCriterion("position =", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotEqualTo(String value) {
            addCriterion("position <>", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThan(String value) {
            addCriterion("position >", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThanOrEqualTo(String value) {
            addCriterion("position >=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThan(String value) {
            addCriterion("position <", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThanOrEqualTo(String value) {
            addCriterion("position <=", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionIsNull() {
            orCriterion("position is null");
            return (Criteria) this;
        }

        public Criteria orPositionIsNotNull() {
            orCriterion("position is not null");
            return (Criteria) this;
        }

        public Criteria orPositionEqualTo(String value) {
            orCriterion("position =", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionNotEqualTo(String value) {
            orCriterion("position <>", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionGreaterThan(String value) {
            orCriterion("position >", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionGreaterThanOrEqualTo(String value) {
            orCriterion("position >=", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionLessThan(String value) {
            orCriterion("position <", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionLessThanOrEqualTo(String value) {
            orCriterion("position <=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLike(String value) {
            addCriterion("position like", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotLike(String value) {
            addCriterion("position not like", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionLike(String value) {
            orCriterion("position like", value, "position");
            return (Criteria) this;
        }

        public Criteria orPositionNotLike(String value) {
            orCriterion("position not like", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionIn(List<String> values) {
            addCriterion("position in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotIn(List<String> values) {
            addCriterion("position not in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionBetween(String value1, String value2) {
            addCriterion("position between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotBetween(String value1, String value2) {
            addCriterion("position not between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria orPositionIn(List<String> values) {
            orCriterion("position in", values, "position");
            return (Criteria) this;
        }

        public Criteria orPositionNotIn(List<String> values) {
            orCriterion("position not in", values, "position");
            return (Criteria) this;
        }

        public Criteria orPositionBetween(String value1, String value2) {
            orCriterion("position between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria orPositionNotBetween(String value1, String value2) {
            orCriterion("position not between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andTotalSharesIsNull() {
            addCriterion("total_shares is null");
            return (Criteria) this;
        }

        public Criteria andTotalSharesIsNotNull() {
            addCriterion("total_shares is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSharesEqualTo(BigDecimal value) {
            addCriterion("total_shares =", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesNotEqualTo(BigDecimal value) {
            addCriterion("total_shares <>", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesGreaterThan(BigDecimal value) {
            addCriterion("total_shares >", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_shares >=", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesLessThan(BigDecimal value) {
            addCriterion("total_shares <", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_shares <=", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesIsNull() {
            orCriterion("total_shares is null");
            return (Criteria) this;
        }

        public Criteria orTotalSharesIsNotNull() {
            orCriterion("total_shares is not null");
            return (Criteria) this;
        }

        public Criteria orTotalSharesEqualTo(BigDecimal value) {
            orCriterion("total_shares =", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesNotEqualTo(BigDecimal value) {
            orCriterion("total_shares <>", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesGreaterThan(BigDecimal value) {
            orCriterion("total_shares >", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesGreaterThanOrEqualTo(BigDecimal value) {
            orCriterion("total_shares >=", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesLessThan(BigDecimal value) {
            orCriterion("total_shares <", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesLessThanOrEqualTo(BigDecimal value) {
            orCriterion("total_shares <=", value, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesIn(List<BigDecimal> values) {
            addCriterion("total_shares in", values, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesNotIn(List<BigDecimal> values) {
            addCriterion("total_shares not in", values, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_shares between", value1, value2, "totalShares");
            return (Criteria) this;
        }

        public Criteria andTotalSharesNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_shares not between", value1, value2, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesIn(List<BigDecimal> values) {
            orCriterion("total_shares in", values, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesNotIn(List<BigDecimal> values) {
            orCriterion("total_shares not in", values, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("total_shares between", value1, value2, "totalShares");
            return (Criteria) this;
        }

        public Criteria orTotalSharesNotBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("total_shares not between", value1, value2, "totalShares");
            return (Criteria) this;
        }

        public Criteria andFullTimeIsNull() {
            addCriterion("full_time is null");
            return (Criteria) this;
        }

        public Criteria andFullTimeIsNotNull() {
            addCriterion("full_time is not null");
            return (Criteria) this;
        }

        public Criteria andFullTimeEqualTo(Boolean value) {
            addCriterion("full_time =", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeNotEqualTo(Boolean value) {
            addCriterion("full_time <>", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeGreaterThan(Boolean value) {
            addCriterion("full_time >", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("full_time >=", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeLessThan(Boolean value) {
            addCriterion("full_time <", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeLessThanOrEqualTo(Boolean value) {
            addCriterion("full_time <=", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeIsNull() {
            orCriterion("full_time is null");
            return (Criteria) this;
        }

        public Criteria orFullTimeIsNotNull() {
            orCriterion("full_time is not null");
            return (Criteria) this;
        }

        public Criteria orFullTimeEqualTo(Boolean value) {
            orCriterion("full_time =", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeNotEqualTo(Boolean value) {
            orCriterion("full_time <>", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeGreaterThan(Boolean value) {
            orCriterion("full_time >", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeGreaterThanOrEqualTo(Boolean value) {
            orCriterion("full_time >=", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeLessThan(Boolean value) {
            orCriterion("full_time <", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeLessThanOrEqualTo(Boolean value) {
            orCriterion("full_time <=", value, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeIn(List<Boolean> values) {
            addCriterion("full_time in", values, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeNotIn(List<Boolean> values) {
            addCriterion("full_time not in", values, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeBetween(Boolean value1, Boolean value2) {
            addCriterion("full_time between", value1, value2, "fullTime");
            return (Criteria) this;
        }

        public Criteria andFullTimeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("full_time not between", value1, value2, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeIn(List<Boolean> values) {
            orCriterion("full_time in", values, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeNotIn(List<Boolean> values) {
            orCriterion("full_time not in", values, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeBetween(Boolean value1, Boolean value2) {
            orCriterion("full_time between", value1, value2, "fullTime");
            return (Criteria) this;
        }

        public Criteria orFullTimeNotBetween(Boolean value1, Boolean value2) {
            orCriterion("full_time not between", value1, value2, "fullTime");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountIsNull() {
            addCriterion("actual_contributive_amount is null");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountIsNotNull() {
            addCriterion("actual_contributive_amount is not null");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountEqualTo(BigDecimal value) {
            addCriterion("actual_contributive_amount =", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountNotEqualTo(BigDecimal value) {
            addCriterion("actual_contributive_amount <>", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountGreaterThan(BigDecimal value) {
            addCriterion("actual_contributive_amount >", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("actual_contributive_amount >=", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountLessThan(BigDecimal value) {
            addCriterion("actual_contributive_amount <", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("actual_contributive_amount <=", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountIsNull() {
            orCriterion("actual_contributive_amount is null");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountIsNotNull() {
            orCriterion("actual_contributive_amount is not null");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountEqualTo(BigDecimal value) {
            orCriterion("actual_contributive_amount =", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountNotEqualTo(BigDecimal value) {
            orCriterion("actual_contributive_amount <>", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountGreaterThan(BigDecimal value) {
            orCriterion("actual_contributive_amount >", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountGreaterThanOrEqualTo(BigDecimal value) {
            orCriterion("actual_contributive_amount >=", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountLessThan(BigDecimal value) {
            orCriterion("actual_contributive_amount <", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountLessThanOrEqualTo(BigDecimal value) {
            orCriterion("actual_contributive_amount <=", value, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountIn(List<BigDecimal> values) {
            addCriterion("actual_contributive_amount in", values, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountNotIn(List<BigDecimal> values) {
            addCriterion("actual_contributive_amount not in", values, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("actual_contributive_amount between", value1, value2, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andActualContributiveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("actual_contributive_amount not between", value1, value2, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountIn(List<BigDecimal> values) {
            orCriterion("actual_contributive_amount in", values, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountNotIn(List<BigDecimal> values) {
            orCriterion("actual_contributive_amount not in", values, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("actual_contributive_amount between", value1, value2, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria orActualContributiveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("actual_contributive_amount not between", value1, value2, "actualContributiveAmount");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(String value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(String value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(String value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(String value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(String value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdIsNull() {
            orCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria orOrgIdIsNotNull() {
            orCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria orOrgIdEqualTo(String value) {
            orCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotEqualTo(String value) {
            orCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdGreaterThan(String value) {
            orCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdGreaterThanOrEqualTo(String value) {
            orCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLessThan(String value) {
            orCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLessThanOrEqualTo(String value) {
            orCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(String value) {
            addCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(String value) {
            addCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLike(String value) {
            orCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotLike(String value) {
            orCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<String> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<String> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(String value1, String value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(String value1, String value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdIn(List<String> values) {
            orCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotIn(List<String> values) {
            orCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdBetween(String value1, String value2) {
            orCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotBetween(String value1, String value2) {
            orCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }
    }

    /**
     * 该类对应数据库表 enterprise_shareholder
     */
    public static class Criteria extends GeneratedCriteria {
        protected boolean andRelation;

        public boolean isAndRelation() {
            return andRelation;
        }

        protected Criteria() {
            super();
        }

        public void setAndRelation(boolean andRelation) {
            this.andRelation = andRelation;
        }
    }

    /**
     * 该类对应数据库表 enterprise_shareholder
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean orValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isOrValue() {
            return orValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, boolean orValue) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
            this.orValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, boolean orValue) {
            this(condition, value, null);
            this.orValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, boolean orValue) {
            this(condition, value, secondValue, null);
            this.orValue = true;
        }
    }
}